@extends('layouts.head')

@section("content")
    <div class="login-form">
        <div class="container">
            <h1 class="mt-2 text-center">用户注册</h1>
            <form method="post" action="{{route("register")}}">
                @csrf
                <div class="form-group mt-4">
                    <label for="email">邮箱:</label>
                    <input type="email" class="form-control mt-2" name="email" id="email" placeholder="请输入邮箱">
                </div>
                <div class="form-group">
                    <label for="pwd">密码:</label>
                    <input type="password" class="form-control mt-2" name="password" id="pwd" placeholder="请输入密码">
                </div>
                <div class="form-group">
                    <label for="pwd">确认密码:</label>
                    <input type="password" class="form-control mt-2" name="current_password" id="pwd" placeholder="请输入确认密码">
                </div>

                <button type="submit" class="btn btn-primary mt-4">注册</button>
            </form>
        </div>
    </div>
@endsection
